package nicg.st.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author GeChen
 * @Description
 * @date 2019/11/3 23:13
 */
public class TreeVO {
    private Integer id;
    private Integer parentId;
    private String indicatorName;
    private Double relativeWeight;
    private Double absoluteWeight;
    private List<TreeVO> childList;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getIndicatorName() {
		return indicatorName;
	}
	public void setIndicatorName(String indicatorName) {
		this.indicatorName = indicatorName;
	}
	public Double getRelativeWeight() {
		return relativeWeight;
	}
	public void setRelativeWeight(Double relativeWeight) {
		this.relativeWeight = relativeWeight;
	}
	public Double getAbsoluteWeight() {
		return absoluteWeight;
	}
	public void setAbsoluteWeight(Double absoluteWeight) {
		this.absoluteWeight = absoluteWeight;
	}
	public List<TreeVO> getChildList() {
		return childList;
	}
	public void setChildList(List<TreeVO> childList) {
		this.childList = childList;
	}
	@Override
	public String toString() {
		return "TreeVO [id=" + id + ", parentId=" + parentId
				+ ", indicatorName=" + indicatorName + ", relativeWeight="
				+ relativeWeight + ", absoluteWeight=" + absoluteWeight
				+ ", childList=" + childList + "]";
	}
    
}